.nav-bar {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding-bottom: constant(safe-area-inset-bottom); /* iOS 11.0-11.2 */
  padding-bottom: env(safe-area-inset-bottom); /* iOS 11.2+ */
  flex-shrink: 0;
}

.nav-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav-text {
  font-size: 28px;
  color: #666;
  transition: color 0.3s;
}

.nav-item {
  position: relative;
}

.nav-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.nav-item.active .nav-text {
  color: #111;
  font-weight: 500;
}

